package cn.bellychang.response;

/**
 * @author ChangLiang
 * @date 2020/9/23
 */
public class MyException extends RuntimeException {

    private ErrorCode errorCode;

    public MyException(ErrorCode errorCode) {
        this.errorCode = errorCode;
    }

    public ErrorCode getErrorCode() {
        return errorCode;
    }
}
